package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account  string `gorm:"type:varchar(30);not null;comment:账号"`
	Password string `gorm:"type:char(32);not null;comment:密码"`
	Nickname string `gorm:"type:varchar(30);not null;comment:昵称"`
	Address  string `gorm:"type:varchar(50);not null;comment:地址"`
	Image    string `gorm:"type:varchar(50);not null;comment:头像"`
}
